<?php
class chitietthuebs{
	private $MaThue		= 0;
	private $NgayThue	= "";
	private $NgayTra	= "";
	private $MaPhong	= "";
	private $MaKH		= "";
	public function Them(){
		$db = new chitietthuedb();
		$db->Them($this->MaThue, $this->NgayThue, $this->NgayTra, $this->MaPhong, $this->MaKH);
	}
	
	public function Xoa(){
		$db = new chitietthuedb();
		$db->Xoa($this->MaThue);
	}
	
	public function CapNhat(){
		$db = new chitietthuedb();
		$db->CapNhat($this->MaThue, $this->NgayTra);
	}
	
	public function LayDanhSach(){
		$db = new chitietthuedb();
		$db->LayDanhSach();
	}
}
?>